package com.ruoyi.merchant.service;

import com.ruoyi.common.core.web.domain.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;
@FeignClient("ruoyi-file")
@Component
public interface FileQR
{
    @PostMapping("/upload")
    AjaxResult uploadFile(MultipartFile file) throws Exception;
}